package com.ruoze.bdp.enums;


public enum ExceptionEnum {
    SUCCESS("000000", "请求成功"),
    UNKNOE_EXCEPTION("999999","未知异常"),
    ADD_SUCCESS("000001","添加成功！"),
    EDIT_SUCCESS("000002","编辑成功！"),
    DELETE_SUCCESS("000003","删除成功！"),
    ;

    private String code;
    private String msg;

    ExceptionEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
